# Use the official maven/Java 8 image to create a build artifact.
# https://hub.docker.com/_/maven
FROM maven:3.5-jdk-8-alpine as builder

# Copy local code to the container image.
WORKDIR /app
COPY svms-save.jar .
COPY application.yml .

# Run the web service on container startup.
CMD ["java","-jar","-Dspring.config.location=application.yml","/app/svms-save.jar"]